<?php


namespace App\Admin\Controllers;


use SmallRuralDog\Admin\Controllers\AdminController;

class ServeController extends AdminController
{

    public function request()
    {
        sleep(3);

        if (request('error')) {
            return \Admin::responseError("请求失败");
        }

        return \Admin::responseMessage("请求成功");
    }

}
